# **********************************************************************
# Dmesg panel by psychydyl (psycho@codeine.every1.net)
#
# 
# **********************************************************************

####
## begin setup config
#  general startup settings

background yes
update_interval 2.0
text_buffer_size 1024
total_run_times 0

## screen setup:
#  placement, sizing, font and color info

alignment top_right
gap_x 200
gap_y 40
minimum_size 220 200

# Maxmum width of window for text display:
maximum_width 512

own_window yes
own_window_type normal
own_window_transparent no
own_window_colour 000000
own_window_argb_visual yes
own_window_argb_value 26
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# font defaults:
use_xft yes
xftalpha 0.1
xftfont Droid Sans:size=10
color0 white
color1 EAEAEA
color2 FFA300
color3 grey
# Blueshift
color4 0478FF	
# Redshift:
color5 A40810
# Demesg:
color6 CCCCCC

## NOTE: Other fonts can be called up during the TEXT formatting
#  these fonts are found through the normal path, or ~/.fonts
#  OpenLogos

## images, buffering, shading
imlib_cache_size 60
double_buffer yes
draw_shades yes
default_shade_color 777777

## misc text formatting
background yes
double_buffer yes

alignment top_right

border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no

## stdout/console printing
out_to_ncurses no
out_to_console no

## process settings
top_name_width 5
#no_buffers yes

#### end config

#### Begin display information
## everything below 'TEXT' is drawn on screen

#own_window_transparent yes
#own_window_colour 000000

TEXT
#${voffset 80}
${color2}Dmesg

# Number of lines of text -> the number after the -n:
# -n10 would give 10 lines, -n6 would give 6 lines, etc:
${font Droid Sans:size=8}${color6}${exec dmesg | tail -n8}


